import {HashRouter,Route} from "react-router-dom";
import Top from "../Page/01-一级和多级路由/View/top"
import Center from "../Page/01-一级和多级路由/View/center"
import Bottom from "../Page/01-一级和多级路由/View/bottom"
import React, {Component} from 'react';

class Index extends Component {
    render() {
        return (
           <HashRouter>

                   <Route path="/" component={Top}></Route>
                   <Route path="/center" component={Center}></Route>
                   <Route path="/bottom" component={Bottom}></Route>
           </HashRouter>
        );
    }
}

export default Index;
